import com.sun.xml.internal.ws.server.ServerRtException;

public class computer {
    long no;//编号
    String address;//地址
    String name;//名称
    int age;
    double size;

    void work(int hour) {
        System.out.println("work " + hour + " hour(s)");
    }

    int rest(int hour) {return  hour;}

    public static void main(String[] args) {
        computer link=new computer();
        link.work(2);
        System.out.println(link.rest(4));
    }
}
